package cn.worldyao.demo.service;

import cn.worldyao.demo.entity.SysPermissionRoleItem;
import cn.worldyao.demo.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yaozi
 * @since 2020-03-11
 */
public interface SysRoleService extends IService<SysRole> {
    boolean updatePermission(SysPermissionRoleItem sysPermissionRoleItem);
    boolean save(SysPermissionRoleItem sysPermissionRoleItem);
    List<SysRole> listRoles();
}
